package com.woniuxy.happylife.dao;

import com.woniuxy.happylife.entity.RbacRole;

import java.util.List;

/**
 * @Classname RbacRoleDao
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/2/17 15:10
 * @Created by hang
 */
public interface RbacRoleDao {
    List<RbacRole> findAll();

    RbacRole findByName(String name);

    int addOne(String name);

    int findById(RbacRole rbacRole);

    Boolean updateOne(RbacRole rbacRole);

    Boolean deleteOneById(int id);

    int findIdByName(String name);
}
